package com.woniuxy.factory.mapper;

import com.woniuxy.factory.entity.OrderRunit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderUnitMapper {
    int getCount(String ord_id);

    List<OrderRunit> getOrderUnits(@Param("ordId") String ordId, @Param("home") int home, @Param("limit") int limit);

    void insertOrderUnit(@Param("ordId") String ordId, @Param("prdId") String prdId, @Param("orderNumber") Integer orderNumber, @Param("remark") String remark);
}
